import request from '@/utils/request'
import qs from 'qs'
function buildUrl(url) {
  return 'http://comment.bingdou.site' + url
}
// 用户登录
export function login(data) {
  return request({
    url: buildUrl('/v1/login'),
    method: 'post',
    data: data
  })
}

export function getInfo(token) {
  /* return request({
    url: '/vue-admin-template/user/info',
    method: 'get',
    params: { token }
  })*/
  return ''
}

export function logout() {
  /* return request({
    url: '/logout',
    method: 'post'
  })*/
  return ''
}
